package com.cn.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * @ClassName User
 * @Description TODO
 * @Author yujiajing
 * @Date 2022/11/7 8:30
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component("User")
@TableName("tb_user")
public class User {
    @JsonFormat(shape = JsonFormat.Shape.STRING )
    Long UserId;
    String AvatarUrl;
    int age;
    String UserName;
    String UserPassword;
    String Name;
    String sex;
    String Phone;
    String Note;
    int AccountSuspended;
}
